package com.zj.transactionspringboot01.component;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.autoconfigure.AutoConfigurationImportSelector;
import org.springframework.boot.autoconfigure.aop.AopAutoConfiguration;
import org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryAutoConfiguration;
import org.springframework.stereotype.Component;

@Component
public class Pair implements BeanFactoryPostProcessor {
    private int id;

    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
//        AopAutoConfiguration bean = beanFactory.getBean(AopAutoConfiguration.class);
//        System.out.println("&&&&&"+bean);


    }
}
